package org.crazyit.album.service;

import org.crazyit.album.vo.*;

import java.util.*;

public interface AlbumService {
    boolean userLogin(String name, String pass);

    int registUser(String name, String pass);

    int addPhoto(String user, String title, String fileName);

    List<PhotoHolder> getPhotoByUser(String user, int pageNo);

    boolean validateName(String name);
}
